
<SCRIPT type="text/javascript">
	var setting = {
		data: {
			simpleData: {
				enable: true
			}
		},
		callback: {
			//onCollapse: alert("up"),
			onExpand: function(){
				if (treeNiceScroll) {
					treeNiceScroll.resize();
				}
			}
		},
		view: {
			showLine: false
		}
	};
	var zNodes1 =[
		{ id:"0", pId:0, name:"系统帮助", open:true, icon:"/assets/images/icon-file-closed.png", url:"/${orgi}/manage/help/index.html",target:"_self"}
		<#if groups??>
		<#list groups as group>
		,{ id:"${group.id!''}", pId:"${group.parentid!''}", name:"${group.name!''}", icon:"/assets/images/icon-file-closed.png" , url:"/${orgi}/manage/help/list/${group.id!''}.html",target:"_self"}
		</#list>
		</#if>
	];
	$(document).ready(function(){
		var ztree = $.fn.zTree.init($(document.getElementById("zTree_adminLIst")), setting, zNodes1);
		ztree.selectNode(ztree.getNodeByParam("id", "${groupid!''}", null));
	
	});


</SCRIPT>
<div class="rs_layout_top breadCrumbWrap">
	<div class="breadCrumbStart">您当前的位置是在：</div>
	<ul class="breadCrumb">
		<li class="bc_ithems"><a href="/${orgi}/manage/task/taskpassing.html">系统管理</a></li>
		<li class="bc_ithems"><a href="/${orgi}/manage/account/index.html">系统帮助</a></li>
	</ul>
	
	<ul class="controlButtons" style="float: right">
		
		<li title="创建分组" data-width="550" href="/${orgi}/manage/help/${groupid!'0'}/groupadd.html" id="groupadd" data-toggle="ajax" class="icons_group_add"></li>
		<#if groupid??&&groupid!='0'>
		<li title="修改分组" data-width="480" href="/${orgi}/manage/help/${groupid!''}/groupedit.html" id="organedit" data-toggle="ajax" class="icons_group_edit"></li>
		<li title="删除分组" onclick="art.confirm('您确定要删除此分组吗？' , function(){location.href='/${orgi}/manage/help/${groupid!''}/groupdelo.html'} , function(){})" id="organdelo" class="icons_group_delete"></li>
		</#if>
		<li title="添加帮助" data-width="1000" href="/${orgi}/manage/help/${groupid!'0'}/helpadd.html" id="groupadd" data-toggle="ajax" class="cbtn-icon-4"></li>
	</ul>
	<div style="float: right">
		<input style="margin-top: 4px;border: 1px solid #cccccc;height: 14px;padding: 4px;"  size="25"  id="show_username" maxlength="30" name="show_username" value="${username!''}" type="text">
		<span class="help-inline"></span>
		<span class="btnWrap" style="margin-top:20px;">
			&nbsp;&nbsp;<input type="button" style="padding-top:5px" onclick="$('#beginNumShow').val('1');$('#endNumShow').val('20');submitSearchForm('current');" class="subButtonStyle" value="查询"> 
		</span>
	
	</div>
</div>
<div class="rs_layout_left" resizable="true" style="width:230px;">
	<div class="lftTreeWrap">
		<div class="ztree" id="zTree_adminLIst"></div>
	</div>
</div>
<!--<div class="rs_layout_right" style="width:300px;"></div>-->
<div class="rs_layout_center">
	<div class="rs_layout">

		<div class="rs_layout_center">
		
		
			<div class="tableScrollWrap">
				<form id="userform" action="" method="post"  data-toggle="form"  data-callback="closeR3ArtDialog();">
				
				<table class="table_style_1">
								<thead>
									<tr>
										<th></th>
										<th><i class="verMidWrap">标题</i><i class="tbArrow"></i></th>
										<th><i class="verMidWrap">描述</i><i class="tbArrow"></i></th>
										<th class="minSize"><i class="verMidWrap">创建时间</i><i class="tbArrow"></i></th>
										<th class="minSize"><i class="verMidWrap">更新时间</i><i class="tbArrow"></i></th>
										<th class="minSize">操作</th>
									</tr>
								</thead>
								<tbody>
									
									<#if helps??>
									<#list helps as help>
									<tr>
										<td class="tdIcons"><input name="userid" value="${help.id!''}" type="checkbox"></td>
										<td><a href="" target="report" class="report">
											<i class="icons_tablelist_user"></i>${help.name!''}</a></td>
										<td>${help.description!''}</td>
										<td class="minSize">${help.createtime?string('yyyy-MM-dd HH:mm:ss')}</td>
										<td class="minSize">${help.updatetime?string('yyyy-MM-dd HH:mm:ss')}</td>
										<td class="minSize">
											<i data-width="1000" title="修改帮助文章" href="/${orgi}/manage/help/${groupid!'0'}/${help.id!''}/helpedit.html" id="organedit" data-toggle="ajax" class="tbControlIcon tci-7"></i>
											<a title="删除用户" href="javascript:void(0)" onclick="art.confirm('您确定要删除此帮助文档吗？' , function(){location.href='/${orgi}/manage/help/${groupid!'0'}/${help.id!''}/helpdelo.html'} , function(){})"><i class="tbControlIcon tci-6"></i></a>
										</td>
									</tr> 
									</#list>
									</#if>
								</tbody>
							</table>
							</form>
			</div>

		</div>
		
	</div>
</div>
